﻿

@using BitrixCodeGenerator.Controllers
@{
    ViewBag.Title = "Home Page";

		List<string> messages = (List<string>)ViewBag.Messages;

		messages = messages ?? new List<string>();
}

<h2>@ViewBag.Message</h2>
<p>
	<ul>
		@foreach(string m in messages){ 
			<li>@(new HtmlString(m))</li>
		}
	</ul>
    To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
</p>

@foreach (var type in Enum.GetNames(typeof(Templates.Interfaces.CodeFileType)))
{ 
	@Html.ActionLink(type, "Code", new { type = type })
	<br />
}
